package com.ruoyi.system.wnjk.domain.po;


import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * 售后详情对象 shop_after_sales_requests
 *
 * @author ruoyi
 * @date 2025-03-07
 */
public class ShopAfterSalesRequests extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 售后申请的唯一ID */
    private Long id;

    /** 关联的订单ID */
    @Excel(name = "关联的订单ID")
    private Long orderId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 售后类型(退款/换货) */
    @Excel(name = "售后类型(退款/换货)")
    private String requestType;

    /** 申请原因 */
    @Excel(name = "申请原因")
    private String requestReason;

    /** 申请状态（待审核/通过/拒绝） */
    @Excel(name = "申请状态", readConverterExp = "待=审核/通过/拒绝")
    private String requestStatus;

    /** 退款金额（仅退款时使用） */
    @Excel(name = "退款金额", readConverterExp = "仅=退款时使用")
    private BigDecimal amount;

    /** 操作备注 */
    @Excel(name = "操作备注")
    private String comment;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setRequestType(String requestType)
    {
        this.requestType = requestType;
    }

    public String getRequestType()
    {
        return requestType;
    }
    public void setRequestReason(String requestReason)
    {
        this.requestReason = requestReason;
    }

    public String getRequestReason()
    {
        return requestReason;
    }
    public void setRequestStatus(String requestStatus)
    {
        this.requestStatus = requestStatus;
    }

    public String getRequestStatus()
    {
        return requestStatus;
    }
    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }
    public void setComment(String comment)
    {
        this.comment = comment;
    }

    public String getComment()
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("requestType", getRequestType())
            .append("requestReason", getRequestReason())
            .append("requestStatus", getRequestStatus())
            .append("amount", getAmount())
            .append("comment", getComment())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
